package com.api.shopapi.service;

import com.api.shopapi.entity.OrderRefund;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

@Service
public interface OrderRefundService {

    int insert(OrderRefund orderRefund);

    int update(OrderRefund orderRefund);

    int delete(String orderRefundCode);

    OrderRefund getByOrderRefundCode(String orderRefundCode);

    OrderRefund getByOrderBusinessCode(String orderBusinessCode);

    PageInfo<OrderRefund> getPageList(int pageIndex, int pageSize,  String userCode, String businessCode,
                                      String tradeNo, String refundNo, int status);
}
